from flask import Blueprint, jsonify
from mock.glasses_response import GlassesMockResponse

glasses_bp = Blueprint('glasses', __name__)

@glasses_bp.route('/capture/detect', methods=['GET'])
def capture_detect():
    """模拟眼镜拍摄物体识别场景"""
    return jsonify(GlassesMockResponse.get_detect_response()), 200

@glasses_bp.route('/capture/logistics', methods=['GET'])
def capture_logistics():
    """模拟眼镜拍摄快递单"""
    return jsonify(GlassesMockResponse.get_logistics_response()), 200

@glasses_bp.route('/capture/navigation', methods=['GET'])
def capture_navigation():
    """模拟眼镜拍摄导航场景"""
    return jsonify(GlassesMockResponse.get_navigation_response()), 200